<!--
 * @Author: HeAo
 * @Date: 2021-12-15 16:27:43
 * @LastEditTime: 2021-12-15 16:45:21
 * @LastEditors: HeAo
 * @Description: 
 * @FilePath: \甘肃农大-2021-12-12\study\day03\4-ajax.html
 * 别乱动！
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.1/axios.js"></script>
</head>

<body>
  <script>
    axios({
      url: 'https://api.muxiaoguo.cn/api/dujitang',
      method: 'get'
    }).then((response) => {
      console.log(response);
    })
  </script>
</body>

</html>